﻿#ifndef PWDFOCUS_H
#define PWDFOCUS_H

#include <QLineEdit>
#include <QWidget>

class PwdFocus : public QLineEdit
{
    Q_OBJECT
public:
    PwdFocus(QWidget* parent);
    ~PwdFocus();
signals:
    void focusChanged(bool hasFocus);
protected:
    void focusInEvent(QFocusEvent *event)override;
    void focusOutEvent(QFocusEvent *event)override;
};

#endif // PWDFOCUS_H
